import cv2

image = cv2.imread('6.jpg')

# 通过切片操作裁切图片
#[36,347], [3620,620], [3523,2410], [56,2536]]
#cropped_image = image[y1:y2, x1:x2] # x1, y1为左上角坐标，x2, y2为右下角坐标
cropped_image = image[347:2410, 36:3523]

cv2.imwrite('Cropped-Image.jpg', cropped_image)